<template>
  <div class="login-view">
    <div class="login-main">
      <el-form :model="form" :rules="rules" :status-icon="false">
        <el-form-item prop="username">
          <el-input type="text" v-model="form.username" placeholder="用户名"/>
        </el-form-item>
        <el-form-item prop="password">
          <el-input type="password" v-model="form.password" placeholder="密码"/>
        </el-form-item>
        <el-form-item>
          <el-button>登录</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
export default {
  name: "login",
  data() {
    return {
      form: {},
      rules: {}
    }
  }
}
</script>